package com.ruoyi.crops.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.stereotype.Component;

/**
 * 农作物(播种后)对象 crops
 * 
 * @author qhr
 * @date 2024-02-18
 */
@Component
public class Crops extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农作物代号 */
    private Long id;

    /** 农作物名称 */
    @Excel(name = "农作物名称")
    private String cropsName;

    /** 农作物类型 */
    @Excel(name = "农作物类型")
    private String cropsType;

    /** 采摘时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采摘时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pickedTime;

    /** 种植方式 */
    @Excel(name = "种植方式")
    private String sowPattern;

    /** 采摘方式 */
    @Excel(name = "采摘方式")
    private String pickPattern;

    /** 施肥信息list */
    @Excel(name = "施肥信息list")
    private String fertilizerInfo;

    /** 农药信息list */
    @Excel(name = "农药信息list")
    private String chemicalInfo;

    /** 农膜信息 */
    @Excel(name = "农膜信息")
    private String sheetingInfo;

    /** 耕作信息list */
    @Excel(name = "耕作信息list")
    private String loosenInfo;

    /** 灌溉信息list */
    @Excel(name = "灌溉信息list")
    private String waterInfo;

    /** 农业技术信息list */
    @Excel(name = "农业技术信息list")
    private String techInter;

    /** 生长周期 */
    @Excel(name = "生长周期")
    private String growthCycle;

    /** 质量检测 */
    @Excel(name = "质量检测")
    private String quality;

    /** 面积 */
    @Excel(name = "面积")
    private Long area;

    /** 产量 */
    @Excel(name = "产量")
    private Long output;

    /** 预警信息list */
    @Excel(name = "预警信息list")
    private String warningInfo;

    /** 0 逻辑删除,1 删除 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCropsName(String cropsName) 
    {
        this.cropsName = cropsName;
    }

    public String getCropsName() 
    {
        return cropsName;
    }
    public void setCropsType(String cropsType) 
    {
        this.cropsType = cropsType;
    }

    public String getCropsType() 
    {
        return cropsType;
    }
    public void setPickedTime(Date pickedTime) 
    {
        this.pickedTime = pickedTime;
    }

    public Date getPickedTime() 
    {
        return pickedTime;
    }
    public void setSowPattern(String sowPattern) 
    {
        this.sowPattern = sowPattern;
    }

    public String getSowPattern() 
    {
        return sowPattern;
    }
    public void setPickPattern(String pickPattern) 
    {
        this.pickPattern = pickPattern;
    }

    public String getPickPattern() 
    {
        return pickPattern;
    }
    public void setFertilizerInfo(String fertilizerInfo) 
    {
        this.fertilizerInfo = fertilizerInfo;
    }

    public String getFertilizerInfo() 
    {
        return fertilizerInfo;
    }
    public void setChemicalInfo(String chemicalInfo) 
    {
        this.chemicalInfo = chemicalInfo;
    }

    public String getChemicalInfo() 
    {
        return chemicalInfo;
    }
    public void setSheetingInfo(String sheetingInfo) 
    {
        this.sheetingInfo = sheetingInfo;
    }

    public String getSheetingInfo() 
    {
        return sheetingInfo;
    }
    public void setLoosenInfo(String loosenInfo) 
    {
        this.loosenInfo = loosenInfo;
    }

    public String getLoosenInfo() 
    {
        return loosenInfo;
    }
    public void setWaterInfo(String waterInfo) 
    {
        this.waterInfo = waterInfo;
    }

    public String getWaterInfo() 
    {
        return waterInfo;
    }
    public void setTechInter(String techInter) 
    {
        this.techInter = techInter;
    }

    public String getTechInter() 
    {
        return techInter;
    }
    public void setGrowthCycle(String growthCycle) 
    {
        this.growthCycle = growthCycle;
    }

    public String getGrowthCycle() 
    {
        return growthCycle;
    }
    public void setQuality(String quality) 
    {
        this.quality = quality;
    }

    public String getQuality() 
    {
        return quality;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setOutput(Long output) 
    {
        this.output = output;
    }

    public Long getOutput() 
    {
        return output;
    }
    public void setWarningInfo(String warningInfo) 
    {
        this.warningInfo = warningInfo;
    }

    public String getWarningInfo() 
    {
        return warningInfo;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cropsName", getCropsName())
            .append("cropsType", getCropsType())
            .append("createTime", getCreateTime())
            .append("pickedTime", getPickedTime())
            .append("sowPattern", getSowPattern())
            .append("pickPattern", getPickPattern())
            .append("fertilizerInfo", getFertilizerInfo())
            .append("chemicalInfo", getChemicalInfo())
            .append("sheetingInfo", getSheetingInfo())
            .append("loosenInfo", getLoosenInfo())
            .append("waterInfo", getWaterInfo())
            .append("techInter", getTechInter())
            .append("remark", getRemark())
            .append("growthCycle", getGrowthCycle())
            .append("quality", getQuality())
            .append("area", getArea())
            .append("output", getOutput())
            .append("warningInfo", getWarningInfo())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
